/*
 * @Description:
 * @Date: 2023-11-01 20:19:28
 * @LastEditTime: 2023-12-22 20:42:28
 */
import { GET, POST } from '@/service/api';

export const getOptions = () => {
	return GET('/home/getOptions');
};

export const getInit = () => {
	return GET('/home/getInitData');
};

export const getGithubData = (params: { page: number; page_size: number }) => {
	return GET('/home/getGithubData', params);
};

export const getProjectData = (params: { type: string; project_id: number }) => {
	return GET('/home/getProjectData', params);
};
export const getHomeData = (data: any) => {
	return POST('/dj/cunzhenInfo/getDjData', data);
};
